package com.xucan.equalsx;

public class StringLengthExample {
    public static void main(String[] args) {
        StringBuilder builder = new StringBuilder();
        for (int i = 0; i < 1111111111 + 1; i++) {
            builder.append("a");
        }
        String str = builder.toString();
        System.out.println("String length: " + str.length());
    }
}